<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>上下混排</title>
    <link rel="stylesheet" href="../css/bootstrap4.5.min.css">
    <link rel="stylesheet" href="../css/public.css">
    <style>
        .part_imgText_list {
            display: flex;
            justify-content: space-between;
        }

        .part_imgText_list_one,
        .part_imgText_list_two,
        .part_imgText_list_three {
            display: flex;
            flex-direction: column;
            align-items: center;
            height: 522px;
        }

        .part_imgText_list_one img,
        .part_imgText_list_two img,
        .part_imgText_list_three img {
            width: 100%;
            height: 258px;
        }

        /* 上下排版 */
        .part_imgText_list div:nth-child(odd) {
            display: flex;
            flex-direction: column-reverse;
        }

        /* 第一个 */
        .part_imgText_list_one {
            width: 560px;
        }

        /* 第二个 */
        .part_imgText_list_two {
            width: 460px;
        }

        /* 第三个 */
        .part_imgText_list_three {
            width: 260px;
        }

        .part_imgText_list_three h3,
        .part_imgText_list_two h3,
        .part_imgText_list_one h3 {
            font-size: var(--f_text);
            color: var(--c_subtitle);
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
        }

        .part_imgText_list_one h3 {
            order: 1;
            line-height: var(--l_text);
            padding: 0px 40px 60px 40px;
        }

        .part_imgText_list_three h3,
        .part_imgText_list_two h3 {
            line-height: 264px;
        }

        .part_imgText_list_one p {
            font-size: var(--f_describe);
            line-height: var(--l_describe);
            color: var(--c_text);
            text-align: center;
            padding: 0px 40px 50px 40px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
        }

        /* a链接按钮 */
        .part_imgText .button_small {
            margin-left: auto;
            margin-right: auto;
        }

        @media (max-width:768px) {
            .part_imgText_list {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .part_imgText_list_one,
            .part_imgText_list_two,
            .part_imgText_list_three {
                display: flex;
                flex-direction: column-reverse;
                align-items: center;
                width: 100%;
                height: 100%;
            }

            .part_imgText_list_one img,
            .part_imgText_list_two img,
            .part_imgText_list_three img {
                width: 100%;
                height: 100%;
            }

            .part_imgText_list div:nth-child(odd) {
                display: flex;
                flex-direction: column-reverse;
            }

            .part_imgText_list_one h3 {
                order: 1;
                line-height: var(--l_text);
                padding: 0px 0px 0px 0px;
            }

            .part_imgText_list_three h3,
            .part_imgText_list_two h3 {
                line-height: 132px;
            }

            .part_imgText_list_one p {
                padding: 20px 20px 20px 20px;

            }
        }
    </style>
</head>

<body>
    <div class="part_imgText modular">
        <div class="public_width title_center">
            <div class="public_title">
                <h2>精品课程</h2>
                <p>XX集团有限公司是一家致力于教育产业的社群电商独角兽品牌， 与上海XX控股集团达成战略合作</p>
            </div>
            <div class="part_imgText_list">
                <div class="part_imgText_list_one">
                    <img src="../images/part_imgText28_1_one.png" alt="">
                    <h3>管理类专业</h3>
                    <p>全国计算机等级考试是经教育部批准，由教育部考试中心主办，
                        用于考查应试人员计算机应用与能力的全国性计算机考试。
                    </p>
                </div>
                <div class="part_imgText_list_two">
                    <img src="../images/part_imgText28_1_two.png" alt="">
                    <h3>计算机类专业</h3>
                </div>
                <div class="part_imgText_list_three">
                    <img src="../images/part_imgText28_1_three.png" alt="">
                    <h3>文史类专业</h3>
                </div>
            </div>
            <a class="button_small" href="">
                了解更多
            </a>
        </div>
    </div>
</body>

</html>